package ru.elifantiev.cityrouter.infrastructure.map;


import com.google.android.maps.GeoPoint;

public interface MapWrapper {

    public static final boolean MAP_MODE_SAT = true;
    public static final boolean MAP_MODE_VECTOR = false;

    public void setCenter(GeoPoint center);
    public void setMode(boolean mode);
    public void setZoom(int zoom);

    public void showMyLocation(boolean isShow);
    public void gotoMyLocation();
    public void clearPoints();
    public void showPoint(int id, GeoPoint center, int radius);
    public void showFoundLocationOverlay(GeoPoint location);

    public void setOnMapReadyListener(OnMapReadyListener listener);
    public void setOnClickHandler(OnClickListener listener);

    public void pause();
    public void resume();
    public void destroy();

    public interface OnClickListener {
        public void onClick(MapWrapper map, GeoPoint clickPoint);
    }

    public interface OnMapReadyListener {
        public void mapReady(MapWrapper map);
    }
}
